<h1>LIST OF ALL ACCOUNTS</h1>

<table align="center" class="soft">
  <tr>
    <th class="contrast">Name</th><th class="contrast">Email</th><th class="contrast">Created at</th><th class="contrast">Last Modified at</th>
  </tr>

<%% @<%=table_name%>.each do |user| %>
  <tr class="<%%= cycle('list-line-odd', 'list-line-even') %>" >
    <td><%%= user.username %></td><td><%%= user.email %></td><td><%%= user.created_at %></td><td><%%= user.updated_at %></td>
    <td><%%= link_to 'Show', <%=model_file_name%>_url(user) %></td>
    <td><%%= link_to 'Edit', edit_<%=model_file_name%>_url(user) %></td>
    <td><%%= link_to 'Destroy', <%=model_file_name%>_url(user), :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<%% end %>
</table>